package team.hyznrj.studentsys.test;

import java.io.IOException;
import java.sql.SQLException;
import java.util.List;

import org.junit.Test;
import org.junit.runner.RunWith;
import org.mybatis.generator.exception.InvalidConfigurationException;
import org.mybatis.generator.exception.XMLParserException;
import org.springframework.test.context.junit4.SpringRunner;

import team.hyznrj.studentsys.utils.MbgUtil;
import team.hyznrj.studentsys.utils.ValueUtil;

@RunWith(SpringRunner.class)
public class ExcelServiceTest2 {
	@Test
	public void test() throws IOException, XMLParserException, InvalidConfigurationException, SQLException, InterruptedException{
		new MbgUtil().test();
	}
	
	@Test
	public void test2(){
		List<String> splitKey = ValueUtil.splitKey("201511701101,201511701102#2017110021", ",，#;；、/");
		for(String str:splitKey){
			System.out.println(str+"->"+str.length());
		}
	}
}
